package exceptionPractise;

public class UserDefinedException extends RuntimeException {

	public UserDefinedException(String name)
	{
		super(name);
	}
	
	public String getMessage()
	{
		return "Balance is not sufficient for withdrawal";
	}
	
//	public void UserDefinedexception(String name)
//	{
//		super(name)
//	}
}
